package timing.ukulele.user.model;

import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import lombok.Data;

import java.io.Serializable;

@Data
@XmlRootElement(name = "xml")
public class WxMpMessageXmlModel implements Serializable {
    /**
     * 开发者微信号
     */
    @XmlElement(name = "ToUserName")
    private String ToUserName;

    /**
     * 发送方帐号（一个OpenID）
     */
    @XmlElement(name = "FromUserName")
    private String FromUserName;

    /**
     * 消息创建时间 （整型）
     */
    @XmlElement(name = "CreateTime")
    private Long CreateTime;

    /**
     * 消息类型
     */
    @XmlElement(name = "MsgType")
    private String MsgType;

    /**
     * 消息内容
     */
    @XmlElement(name = "Content")
    private String Content;

    /**
     * 消息id
     */
    @XmlElement(name = "MsgId")
    private String MsgId;

    /**
     * Event
     */
    @XmlElement(name = "Event")
    private String Event;
}
